/*-------------------------------------------------------------------------------------
* Tokaban Corp 2009
* Package : TKB PHP SYSTEM CODE
*--------------------------------------------------------------------------------------
* 
* 
* 
*--------------------------------------------------------------------------------------
* Khi su dung, can luu y:
* 
* 
* 
* 
* Xem them tai lieu tokaban web program convention document.
*--------------------------------------------------------------------------------------*/
function SetViewTableDiv(tableName)
{
    var str = AdFindObjectID(tableName + 'Loc').style.display;
	
    if (str == 'block')
    {
        AdFindObjectID(tableName + 'Loc').style.display = "none";
        AdFindObjectID(tableName).value = "+";
	
    }
    else
    {
        AdFindObjectID(tableName + 'Loc').style.display = "block";
        AdFindObjectID(tableName).value = "-";

    }
    
}
//-----------------------------------------------
function AdFindObjectID(idName)
{
	return document.getElementById(idName);
}

